package com.linx.open.domain.bo;

import com.linx.common.core.validate.AddGroup;
import com.linx.common.core.validate.EditGroup;
import com.linx.open.domain.YsyjLog;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 第三方日志业务对象 ysyj_log
 *
 * @author linx
 * @date 2024-10-28
 */
@Data
@AutoMapper(target = YsyjLog.class, reverseConvertGenerate = false)
public class YsyjLogBo {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long ysyjLogId;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    /**
     * 是否返回成功（0代表存在 1代表删除）
     */
    @NotBlank(message = "是否返回成功（0代表存在 1代表删除）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String isSuccess;

    /**
     * 请求内容
     */
    @NotBlank(message = "请求内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String contentinfo;

    /**
     * 1.用户，2企业，topic-xxx等自定义
     */
    @NotBlank(message = "1.用户，2企业，topic-xxx等自定义不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ysyjType;


}
